package sp.whereru;

import com.google.android.maps.GeoPoint;

public class Loc {
    private double lat;
    private double lon;

    public Loc(double lat, double lon) {
        this.lat = lat;
        this.lon = lon;
    }

    public double getLat() {
    	return lat;
    }
    
    public double getLon() {
    	return lon;
    }
    
    public GeoPoint toGeoPoint() {
        return new GeoPoint((int) (this.lat * 1e6), (int) (this.lon * 1e6));
    }
}
